package com.soft.collateral.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("押品图片")
@TableName("collateral_pic")
public class CollateralPic {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("图片ID")
    private Integer id;

    @TableField("collateral_id")
    @ApiModelProperty("押品ID")
    private Integer collateralId;

    @TableField("pic_url")
    @ApiModelProperty("图片URL")
    private String picUrl;
}